Justin Herbert threw for 300 yards and two touchdowns, rookie Omarion Hampton added 85 yards and a touchdown on the ground, and the Los Angeles Chargers took a 34-17 win over the Dallas Cowboys.